package interview.AbstractClass;

/**
 * @Author: Jun
 * @Date: 2018/9/8 11:11
 */
public class Person extends AbstractClass {

    public Person(Integer age, String name) {
        super(age, name);
    }

    public Person(String name, String age, Integer age1, String name1) {
        super(name, age, age1, name1);
    }

    @Override
    public void walk() {
        People();
        System.out.println("walk");
    }

    @Override
    public void say() {
        System.out.println("hi");
    }



    public static void main(String[] args) {
        Person person=new Person(18,"张三");
        person.walk();
        person.say();
        person.eat();
    }
}
